package com.xcm.model.dto;

import java.util.List;

/**
 * 终端分组树形列表DTO
 */
public class DeviceGroupTreeListDTO {
    /** 终端分组主键 */
    private Long deviceGroupId;
    /** 父主键 */
    private String pid;
    /** 分组名称 */
    private String label;
    /** 分组码 */
    private String groupCode;
    /**
     * 是否展开分组
     */
    private boolean open;
    /**
     * 子分组
     */
    private List<DeviceGroupTreeListDTO> children;

    public Long getDeviceGroupId() {
        return deviceGroupId;
    }

    public void setDeviceGroupId(Long deviceGroupId) {
        this.deviceGroupId = deviceGroupId;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public List<DeviceGroupTreeListDTO> getChildren() {
        return children;
    }

    public void setChildren(List<DeviceGroupTreeListDTO> children) {
        this.children = children;
    }
}
